﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using ITAP.Core.Modelling.Primitives;
using ITAP.Core.Modelling;

namespace ITAP.ContourBuilder.Components
{
    public interface IEndedContourComponent : IContourComponent, IEndPointsMoveable, IRotateable
    {
        ModelPoint StartPoint { get; }
        ModelPoint EndPoint { get; }
        IContourComponent ConnectTo(IContourComponent component, EndType endOfThisComponentToConnect);
        double Length { get; }
        void SetLength(double length, EndedPrimitivePoints endPoint);
        double Height { get; set; }
        bool IsHalfRound { get; set; }
        IContourComponent StartConnectedComponent { get; }
        IContourComponent EndConnectedComponent { get; }
    }
}
